Ext.define('ES.view.home.Home',{
	extend:'Ext.container.Container',
	requires:['ES.view.search.SearchBox'],
	alias:'widget.homecomp',
	width:'100%',
	layout:{
		type:'vbox',
		pack:'center',
		align:'center',
		defaultMargins:{top: 0, right: 0, bottom: 5, left: 0}
	},
    initComponent: function() {
    	 this.items=[
	         {
        		xtype:'searchbox'
        	},
        	{
        		xtype:'container',
        		padding:'20 0 0 0',
        		html: 'Online  portal for collaboration and knowledge sharing',
        		style:{
        			fontSize:'20'
        		}
        	},
        	{
        		xtype:'container',
        		html: 'Search, Create and Share the Re-Usable Components',
        		style:{
        			fontSize:'15'
        		},
        		padding:'0 0 10 0'
        		
        	},
        	{
        		xtype:'image',
        		src:'app/assets/img7.jpg',
        		width:815,
        		height:330
        	}        	
        ];
    	this.callParent(arguments);
    }
});